package co.fitstart.weapp.api.service;

import java.util.List;

import co.fitstart.entity.course.round.CourseRound;
import co.fitstart.entity.course.schedule.CourseSchedule;
import co.fitstart.entity.user.Student;

/**
 * 
 * @author dan
 *
 */
public interface CourseScheduleService {

    /**
     * 
     * @param courseScheduleId
     * @return
     */
    public CourseSchedule load(Long courseScheduleId);

    
    /**
     * 
     * @param courseRound
     * @return
     */
    public List<CourseSchedule> list(CourseRound courseRound);

    /**
     * 
     * @param student
     * @return
     */
    public List<CourseSchedule> listCouldSignin(Student student);

    /**
     * 是否最近一节待上课课时
     * @param courseSchedule
     * @return
     */
    public boolean isFirstReady(CourseSchedule courseSchedule);
}
